package cn.qingyun.gis.modules.scenes.feign.fallback;

import cn.qingyun.gis.exception.CommonException;
import cn.qingyun.gis.modules.scenes.feign.PoiWgtInvokeFeignService;
import cn.qingyun.gis.modules.scenes.request.KwResultRequest;
import cn.qingyun.gis.modules.scenes.request.QueryUserPanRequest;
import org.springframework.stereotype.Component;

import java.util.List;


@Component
public class PoiWgtInvokeFeignServiceFallback implements PoiWgtInvokeFeignService {
    @Override
    public String queryUserPanChannel(QueryUserPanRequest request) {
        throw new CommonException("调用网格通查询用户是否泛渠道接口失败！");
    }

    @Override
    public String sendBusinessToWgt(List<KwResultRequest> list) {
        throw new CommonException("调用网格通商机同步接口失败！");
    }
}
